'use strict';

function hybrid_operation(collection) {

  //在这里写入代码
  var result=collection.map(x=>x*3+2);
  let sum=result.reduce(function(pre,cur){
    return pre+cur;
  },0)
  return sum;
}

module.exports = hybrid_operation;

